package com.neuedu.advance.polymorphic;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

/**
 * @author 金山
 * 项目：javase
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2024/10/189:12
 */
public class Runner {

    public static void main(String[] args) {


        // Print printer = new ColorPrint();
        // printer.print();


        List list = new LinkedList();

        list.add(100);
        list.add(200);
        list.add(300);
        list.add(400);

        list.forEach(System.out::println);

    }
}
